# !/usr/bin/env python
# -*- coding: utf-8 -*-
"""
 -------------------------------------------------
    File Name:     urls.py
    Description:   
 -------------------------------------------------
 """
from rest_framework import routers
from apps.scenes.views.scene import TestScenesViewSet
from apps.scenes.views.scene_to_case import SceneToCaseView

# 创建一个路由器对象
router = routers.SimpleRouter()
# 注册视图集合到路由器中


router.register('scenes', TestScenesViewSet)  # 场景管理
router.register(r'icases', SceneToCaseView)  # 场景关联用例
urlpatterns = []
urlpatterns += router.urls
